projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11e28ab
)
* src/alloc.c (verify_alloca): Replace a stray occurrence of pointer_valid_for_lisp_o...
author
Paul Eggert
<eggert@cs.ucla.edu>
Wed, 10 Sep 2014 15:21:46 +0000
(08:21 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Wed, 10 Sep 2014 15:21:46 +0000
(08:21 -0700)
src/alloc.c
patch
|
blob
|
history
diff --git
a/src/alloc.c
b/src/alloc.c
index 714827f6ae33c53282cb8d38138b7206ba0e6d63..1dbd46d6f892cc11a23d0cfd7e4251efedd50447 100644
(file)
--- a/
src/alloc.c
+++ b/
src/alloc.c
@@
-7175,8
+7175,8
@@
verify_alloca (void)
/* Start from size of the smallest Lisp object. */
for (i = sizeof (struct Lisp_Cons); i <= ALLOCA_CHECK_MAX; i++)
{
-
char
*ptr = alloca (i);
-
eassert (pointer_valid_for_lisp_object (ptr)
);
+
void
*ptr = alloca (i);
+
make_lisp_ptr (ptr, Lisp_Cons
);
}
}